package cn.juque.jdfsystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author JUQUE
 * @version 1.0.0
 * <ul>
 *  <li>simple-generator</li>
 *  <li>注册信息</li>
 * </ul>
 * @date 2023-01-10 19:01:26
 **/
@Data
@TableName(value = "JDF_REGISTER_INFO")
public class RegisterInfo extends BaseEntity {

    /**
     * 主键
     */
    @TableId(value = "ID", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 节点名称
     */
    @TableField(value = "NODE_NAME")
    private String nodeName;

    /**
     * 绑定的IP
     */
    @TableField(value = "IP")
    private String ip;

    /**
     * 执行状态：0-已下线；1-上线成功；2-正常
     */
    @TableField(value = "EXECUTE_STATUS")
    private Integer executeStatus;

}
